#include "StructOrUnionSpecifier.h"
#include "StructOrUnion.h"
#include "StructDeclarationList.h"

#include "../../symtab/symtab.h"


StructOrUnionSpecifier::~StructOrUnionSpecifier()
{
	delete m_pStructOrUnion;
	if(m_pDecList)
		delete m_pDecList;
}

void StructOrUnionSpecifier::codeGen()
{
	COUT
	m_pStructOrUnion->codeGen();
	if(m_pIdentifier)
		std::cout<<"identifier"<<std::endl;
	if(m_pDecList)
		m_pDecList->codeGen();
}